<include file="public@header" />
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="javascript:void(0)">{$data.name}-
            <if condition="$data['verify'] eq 0">
                <span class="label label-danger">未审核</span>
                <elseif condition="$data['verify'] eq 1"/>
                <span class="label label-success">审核通过</span>
                <elseif condition="$data['verify'] eq 2"/>
                <span class="label label-danger">审核失败</span>
                <elseif condition="$data['verify'] eq 3"/>
                <span class="label label-danger">下架</span>
            </if>
        </a></li>
    </ul>

    <table class="table table-hover table-bordered" >
        <tr>
            <td colspan="10" style=""><b>基础信息</b></td>
        </tr>
        <tr>
            <td>ID</td> <td>{$data.id}</td>
            <td>名称</td> <td>{$data.name}</td>
            <td>专利号</td> <td>{$data.code}</td>
            <td>专利行业</td><td>{$data.trade}</td>
            <td>专利类型</td><td>{$data.type_val}</td>
        </tr>
        <tr>
            <td>专利状态</td> <td>{$data.status}</td>
            <td>证书有效期</td> <td>{$data.limit_date}</td>
            <td>发明人</td> <td>{$data.create_name}</td>
            <td>国家名称</td><td>{$data.country}</td>
            <td>国家代码</td><td>{$data.country_code}</td>
        </tr>
        <tr>
            <td>专利权人</td> <td>{$data.patentee}</td>
        </tr>
        <tr>
            <td colspan="10"><b>注册信息</b></td>
        </tr>
        <tr>
            <td>专利摘要</td> <td>{$data.summary}</td>
            <td>公开日期</td> <td>{$data.public_date}</td>
            <td>申请人</td><td>{$data.apply_name}</td>
            <td>申请主体</td><td>{$data.apply_main}</td>
            <td>代理机构</td> <td>{$data.proxy_mechanism}</td>

        </tr>
        <tr>
            <td>代理人</td> <td>{$data.proxy_name}</td>

        </tr>

        <tr>
            <td colspan="10"><b>商品费用信息</b></td>
        </tr>
        <tr>
            <td>年费：元</td> <td>{$data.year_fee}</td>
            <td>年费缴纳状态</td><td>{$data.year_fee_status}</td>
            <td>下次缴费类型</td><td>{$data.next_type}</td>
        </tr>
        <tr>
            <td>下次缴费金额:元</td> <td>{$data.next_amount}</td>
            <td>滞纳金:元</td> <td>{$data.overdue_fee}</td>
            <td>恢复费:元</td> <td>{$data.resume_fee}</td>
            <td>缴费金额(元)</td><td>{$data.fee}</td>
            <td>缴费日期</td><td>{$data.fee_date}</td>
        </tr>
        <tr>
            <td>缴费人名称：</td> <td>{$data.fee_name}</td>
            <td>费用类型</td><td>{$data.fee_type}</td>
            <td>应缴金额(元)</td><td>{$data.amount}</td>
            <td>缴费截止日期</td><td>{$data.fee_limit_date}</td>
        </tr>

        <tr>
            <td colspan="10"><b>商售信息</b></td>
        </tr>

        <tr>
            <td>出售价格(元)</td><td>{$data.sale}</td>
            <td>卖家姓名</td><td>{$data.sale_name}</td>
            <td>卖家电话</td> <td>{$data.sale_tel}</td>
            <td>是否产生年费滞纳金：</td> <td><if condition="$data.is_year_overdue eq '1'">是 <else /> 否 </if></td>
            <td>是否存在权利质押</td> <td><if condition="$data.is_pledge eq '1'">是 <else /> 否 </if></td>
        </tr>
        <tr>

            <td>是否存在侵权诉讼：</td> <td><if condition="$data.is_lawsuit eq '1'">是 <else /> 否 </if></td>
            <td>是否存在授权他人使用</td> <td><if condition="$data.is_empower eq '1'">是 <else /> 否 </if></td>
            <td>审核情况</td> <td><if condition="$data['verify'] eq 0">
            <span class="label label-danger">未审核</span>
            <elseif condition="$data['verify'] eq 1"/>
            <span class="label label-success">审核通过</span>
            <elseif condition="$data['verify'] eq 2"/>
            <span class="label label-danger">审核失败</span>
            <elseif condition="$data['verify'] eq 3"/>
            <span class="label label-danger">下架</span>
        </if></td>
            <!--<td>更新时间</td><td>{$data.update_time}</td>-->
        </tr>
    </table>
    <if condition="$data['verify'] eq 0 ">
        <a class="btn btn-xs js-ajax-dialog-btn label label-success" href="{:url('task/patentVerify',array('id'=>$data['id'],'val'=>1))}">通过</a>
        <a class="btn btn-xs js-ajax-dialog-btn label label-success" href="{:url('task/patentVerify',array('id'=>$data['id'],'val'=>2))}">不通过</a>
        <elseif condition="$data['verify'] eq  2" />
        <a class="btn btn-xs js-ajax-dialog-btn label label-success" href="{:url('task/patentVerify',array('id'=>$data['id'],'val'=>1))}">通过</a>
    </if>
    <if condition="$data['verify'] eq 3">
        <a class="btn btn-xs js-ajax-dialog-btn label label-success" href="{:url('task/patentVerify',array('id'=>$data['id'],'val'=>1))}">上架</a>
        <else />
        <a class="btn btn-xs js-ajax-dialog-btn label label-success" href="{:url('task/patentVerify',array('id'=>$data['id'],'val'=>3))}">下架</a>
    </if>

</div>
<script src="__STATIC__/js/admin.js"></script>
<script src="__STATIC__/js/NZ-Window.min.js"></script>
<script src="__STATIC__/js/NZ-Drag.min.js"></script>
<script>
    $(function () {
        var id = $(this).attr('data')
        $(".test").click(function () {
            $.NZ_Window.show({
                url: "{:url('task/patentDetail')}"+"?id="+id,
                width: 1024,
                height: 800,
                title: "这是一个窗口"
            });
        });
    })
</script>
</body>
</html>